package com.youlin.service;

import com.youlin.dto.*;
import com.youlin.dto.req.EditCustomReqDto;
import com.youlin.dto.res.CMListResDto;
import com.youlin.dto.res.CustomResDto;
import com.youlin.entities.BygCustom;
import com.baomidou.mybatisplus.extension.service.IService;
import java.util.List;

public interface BygCustomService extends IService<BygCustom> {

    BaseResDto<Status, String> editCustom(EditCustomReqDto data);

    PageDataResDto<List<CMListResDto>> findAllCustoms(Integer templateId, PageInfo pageInfo);

    BaseDataResDto<CustomResDto> findCustomById(Integer customId);

    BaseResDto<Status, String> delCustom(Integer customId);

    BaseResDto<Status, String> editCustomNo(Integer customId, Boolean toUp);

}